#ifndef COURSEOUTLINE_H
#define COURSEOUTLINE_H

#include <QString>
#include <QVector>
#include <QDataStream>
#include "OutlineSection.h"
using namespace std;

class CourseOutline
{
public:
    CourseOutline();
    CourseOutline(QString title, QVector<OutlineSection> outlineSectionList,QString status);
    void setTitle(QString newTitle);
    void setStatus(QString status);
    void addOutlineSection(OutlineSection section);
    void removeOutlineSection(OutlineSection section);
    QString getTitle() const;
    QString getStatus() const;
    QVector<OutlineSection> getOutlineSectionList() const;
    QVector<OutlineSection> getOutlineSectionList2();

    CourseOutline& operator=(const CourseOutline& source);


private:
    QString title;
    QVector<OutlineSection> outlineSectionList;
    QString status;


};

QDataStream &operator<<(QDataStream &out, const CourseOutline &data);
QDataStream &operator>>(QDataStream &in, CourseOutline &data);

#endif // COURSEOUTLINE_H
